package com.ruoyi.pay.clients;

import com.ruoyi.pay.clients.impl.OrderFeignCliestimpl;
import com.ruoyi.pay.entity.TbOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ruoyi-order",fallback = OrderFeignCliestimpl.class)
public interface OrderFeignCliest {

    @GetMapping(value = "order/finOrderByid")
    public TbOrder finOrderByid(@RequestParam("id") Long id);
}
